package com.clubs.coding.Service;

import cn.hutool.core.lang.tree.Tree;
import com.clubs.coding.exception.ImoocMallException;
import com.clubs.coding.model.Vo.MenusVo;
import com.clubs.coding.model.pojo.AthAdminUser;
import com.clubs.coding.model.pojo.News;
import com.clubs.coding.model.pojo.User;
import com.clubs.coding.model.request.NewsReq;
import com.github.pagehelper.PageInfo;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface AthAdminUserService {


    AthAdminUser login(String userName, String password) throws ImoocMallException;

    void alter(String userName,String passwordold, String password) throws ImoocMallException;





    PageInfo member(Integer PageNum, Integer PageSize
            , Integer member, Integer id, String nickName, Integer mobile);

    List<Tree<String>> menus();

    void userEd(User user);
}
